package com.zgd.controller;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.zgd.service.TestService;

@Controller
@RequestMapping("/test")
public class TestController {

	@Resource(name="tService")
	private TestService tService;
	
	@RequestMapping(value="test")
	public void test(){
		tService.queryAll();
	}
}
